package org.example;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * @Date: 2024/10/14
 * @Author: Administrator
 * @ClassName: ZkProviderApplication
 * @Description: 任何微服务都是一个发现客户端
 */

@SpringBootApplication
@EnableDiscoveryClient   // 开启ZooKeeper服务发现
public class ZkProviderApplication {
    public static void main(String[] args) {
        SpringApplication.run(ZkProviderApplication.class, args);
    }
}
